//
//  HWDoubleButtonCell.h
//  HuaWan
//
//  Created by HuaWan on 2022.
//  Copyright ©2022年 HuaWan. All rights reserved.
//

#import "BaseTableViewCell.h"

@class HWDoubleButtonCell;

@protocol HWDoubleButtonCellDelegate <NSObject>

- (void)doubleButtonCell:(HWDoubleButtonCell *)cell button:(UIButton *)sender;

@end

@interface HWDoubleButtonCell : BaseTableViewCell

@property (nonatomic,weak) id<HWDoubleButtonCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *leftButton;
@property (weak, nonatomic) IBOutlet UIButton *rightButton;

@end



#pragma mark - Model

@interface HWDoubleButtonCellModel : NSObject

@property (nonatomic,copy) NSString *leftTitle;
@property (nonatomic,copy) NSString *rightTitle;

+ (HWDoubleButtonCellModel *)ittemModelWithLeftTitle:(NSString *)leftTitle rightTitle:(NSString *)rightTitle;

@end



